diff --git a/.env.development b/.env.development index da8a322..d55956a 100644 --- a/.env.development +++ b/.env.development @@ -1,2 +1,3 @@ -VALIDATOR_URL=http://localhost/validatorapi -REDIS_URL=redis://localhost:6379/0 \ No newline at end of file +FHIR_RESOURCE_VALIDATOR_URL=http://localhost/hl7validatorapi +REDIS_URL=redis://localhost:6379/0 +FHIRPATH_URL=http://localhost/fhirpath \ No newline at end of file diff --git a/.env.production b/.env.production index 9f9f600..da00a69 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,4 @@ REDIS_URL=redis://redis:6379/0 -VALIDATOR_URL=http://validator_service:4567 -INFERNO_HOST=http://localhost \ No newline at end of file +FHIR_RESOURCE_VALIDATOR_URL=http://hl7_validator_service:3500 +INFERNO_HOST=http://localhost +FHIRPATH_URL=http://fhirpath:6789 \ No newline at end of file diff --git a/.env.test b/.env.test index 9e95769..8167ed9 100644 --- a/.env.test +++ b/.env.test @@ -1,2 +1,3 @@ -VALIDATOR_URL=https://example.com/validatorapi +FHIR_RESOURCE_VALIDATOR_URL=https://example.com/validatorapi +FHIRPATH_URL=https://example.com/fhirpath ASYNC_JOBS=false diff --git a/Dockerfile b/Dockerfile index 83389a9..2c2f684 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ WORKDIR $INSTALL_PATH ADD *.gemspec $INSTALL_PATH ADD Gemfile* $INSTALL_PATH ADD lib/davinci_pas_test_kit/version.rb $INSTALL_PATH/lib/davinci_pas_test_kit/version.rb +RUN gem update --system RUN gem install bundler # The below RUN line is commented out for development purposes, because any change to the # required gems will break the dockerfile build process. diff --git a/Gemfile.lock b/Gemfile.lock index 2c2041d..1cfcbb6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,7 @@ PATH remote: . specs: davinci_pas_test_kit (0.9.3) - inferno_core (~> 0.4.34) + inferno_core (~> 0.4.37) GEM remote: https://rubygems.org/ @@ -134,7 +134,7 @@ GEM domain_name (~> 0.5) i18n (1.14.5) concurrent-ruby (~> 1.0) - inferno_core (0.4.38) + inferno_core (0.4.39) activesupport (~> 6.1.7.5) base62-rb (= 0.3.1) blueprinter (= 0.25.2) @@ -165,7 +165,7 @@ GEM rdoc (>= 4.0.0) reline (>= 0.4.2) json (2.7.2) - jwt (2.8.1) + jwt (2.8.2) base64 kramdown (2.4.0) rexml @@ -187,14 +187,14 @@ GEM mustermann (= 1.1.2) netrc (0.11.0) nio4r (2.7.3) - nokogiri (1.16.5) + nokogiri (1.16.6) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.5-arm64-darwin) + nokogiri (1.16.6-arm64-darwin) racc (~> 1.4) - nokogiri (1.16.5-x86_64-darwin) + nokogiri (1.16.6-x86_64-darwin) racc (~> 1.4) - nokogiri (1.16.5-x86_64-linux) + nokogiri (1.16.6-x86_64-linux) racc (~> 1.4) oauth2 (1.4.11) faraday (>= 0.17.3, < 3.0) @@ -238,7 +238,7 @@ GEM netrc (~> 0.8) rexml (3.2.8) strscan (>= 3.0.9) - rouge (4.2.1) + rouge (4.3.0) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) diff --git a/config/PAS Test Kit Client Test Demo.postman_collection.json b/config/PAS Test Kit Client Test Demo.postman_collection.json index 1cb56a7..9f4d53d 100644 --- a/config/PAS Test Kit Client Test Demo.postman_collection.json +++ b/config/PAS Test Kit Client Test Demo.postman_collection.json @@ -54,7 +54,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"ReferralAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://notreal.com/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://notreal.com/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id:\\u00a0111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: See above (Patient/SubscriberExample)

created: 2005-05-02 11:01:00+0500

insurer: See above (Organization/InsurerExample)

provider: See above (Organization/UMOExample)

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1See above (PractitionerRole/ReferralPractitionerRoleExample)

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1G89.4 (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueSee above (Coverage/InsuranceExample)

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://notreal.com/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://notreal.com/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n }\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://notreal.com/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"ServiceRequest/ReferralRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: See above (Patient/SubscriberExample)

payor: See above (Organization/InsurerExample)

\"\n },\n \"status\": \"active\",\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id:\\u00a012345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://notreal.com/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ]\n }\n ],\n \"gender\": \"male\"\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/ServiceRequest/ReferralRequestExample\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"ReferralRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: ServiceRequest

Resource ServiceRequest "ReferralRequestExample"

Profile: PAS Service Request

status: active

intent: order

code: Consultation (1365#3)

quantity: 1 visit (Details: UCUM code 1 = '1')

subject: See above (Patient/SubscriberExample)

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"quantityQuantity\": {\n \"value\": 1,\n \"unit\": \"visit\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"1\"\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: See above (Practitioner/ReferralPractitionerExample)

location: See above (Location/ReferralLocationExample)

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n }\n ]\n }", + "raw": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"ReferralAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://notreal.com/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://notreal.com/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id:\\u00a0111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: Patient/SubscriberExample

created: 2005-05-02 11:01:00+0500

insurer: Organization/InsurerExample

provider: Organization/UMOExample

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1PractitionerRole/ReferralPractitionerRoleExample

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1G89.4 (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueCoverage/InsuranceExample

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://notreal.com/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://notreal.com/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n }\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://notreal.com/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"ServiceRequest/ReferralRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: Patient/SubscriberExample

payor: Organization/InsurerExample

\"\n },\n \"status\": \"active\",\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id:\\u00a012345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://notreal.com/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ]\n }\n ],\n \"gender\": \"male\"\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/ServiceRequest/ReferralRequestExample\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"ReferralRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: ServiceRequest

Resource ServiceRequest "ReferralRequestExample"

Profile: PAS Service Request

status: active

intent: order

code: Consultation (1365#3)

quantity: 1 visit (Details: UCUM code 1 = '1')

subject: Patient/SubscriberExample

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"quantityQuantity\": {\n \"value\": 1,\n \"unit\": \"visit\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"1\"\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: Practitioner/ReferralPractitionerExample

location: Location/ReferralLocationExample

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n }\n ]\n }", "options": { "raw": { "language": "json" @@ -89,7 +89,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"ReferralAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://notreal.com/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://notreal.com/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id:\\u00a0111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: See above (Patient/SubscriberExample)

created: 2005-05-02 11:01:00+0500

insurer: See above (Organization/InsurerExample)

provider: See above (Organization/UMOExample)

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1See above (PractitionerRole/ReferralPractitionerRoleExample)

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1G89.4 (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueSee above (Coverage/InsuranceExample)

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://notreal.com/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://notreal.com/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n }\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://notreal.com/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"ServiceRequest/ReferralRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: See above (Patient/SubscriberExample)

payor: See above (Organization/InsurerExample)

\"\n },\n \"status\": \"active\",\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id:\\u00a012345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://notreal.com/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ]\n }\n ],\n \"gender\": \"male\"\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/ServiceRequest/ReferralRequestExample\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"ReferralRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: ServiceRequest

Resource ServiceRequest "ReferralRequestExample"

Profile: PAS Service Request

status: active

intent: order

code: Consultation (1365#3)

quantity: 1 visit (Details: UCUM code 1 = '1')

subject: See above (Patient/SubscriberExample)

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"quantityQuantity\": {\n \"value\": 1,\n \"unit\": \"visit\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"1\"\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: See above (Practitioner/ReferralPractitionerExample)

location: See above (Location/ReferralLocationExample)

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n }\n ]\n }", + "raw": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"ReferralAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://notreal.com/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://notreal.com/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id:\\u00a0111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: Patient/SubscriberExample

created: 2005-05-02 11:01:00+0500

insurer: Organization/InsurerExample

provider: Organization/UMOExample

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1PractitionerRole/ReferralPractitionerRoleExample

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1G89.4 (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueCoverage/InsuranceExample

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://notreal.com/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://notreal.com/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n }\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://notreal.com/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"ServiceRequest/ReferralRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: Patient/SubscriberExample

payor: Organization/InsurerExample

\"\n },\n \"status\": \"active\",\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id:\\u00a012345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://notreal.com/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ]\n }\n ],\n \"gender\": \"male\"\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/ServiceRequest/ReferralRequestExample\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"ReferralRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: ServiceRequest

Resource ServiceRequest "ReferralRequestExample"

Profile: PAS Service Request

status: active

intent: order

code: Consultation (1365#3)

quantity: 1 visit (Details: UCUM code 1 = '1')

subject: Patient/SubscriberExample

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"quantityQuantity\": {\n \"value\": 1,\n \"unit\": \"visit\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"1\"\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: Practitioner/ReferralPractitionerExample

location: Location/ReferralLocationExample

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id:\\u00a0<a href="http://terminology.hl7.org/5.0.0/NamingSystem-npi.html">NPI</a>#987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://notreal.com/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n }\n ]\n }", "options": { "raw": { "language": "json" diff --git a/config/nginx.background.conf b/config/nginx.background.conf index f897472..1ba64de 100644 --- a/config/nginx.background.conf +++ b/config/nginx.background.conf @@ -53,7 +53,38 @@ http { # the server will close connections after this time keepalive_timeout 600; - location /validator { +# location /validator { +# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +# proxy_set_header Host $http_host; +# proxy_set_header X-Forwarded-Proto $scheme; +# proxy_set_header X-Forwarded-Port $server_port; +# proxy_redirect off; +# proxy_set_header Connection ''; +# proxy_http_version 1.1; +# chunked_transfer_encoding off; +# proxy_buffering off; +# proxy_cache off; +# +# proxy_pass http://fhir_validator_app; +# } + +# location /validatorapi/ { +# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +# proxy_set_header Host $http_host; +# proxy_set_header X-Forwarded-Proto $scheme; +# proxy_set_header X-Forwarded-Port $server_port; +# proxy_redirect off; +# proxy_set_header Connection ''; +# proxy_http_version 1.1; +# chunked_transfer_encoding off; +# proxy_buffering off; +# proxy_cache off; +# +# proxy_pass http://validator_service:4567/; +# } +# } + + location /hl7validatorapi/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; @@ -64,11 +95,12 @@ http { chunked_transfer_encoding off; proxy_buffering off; proxy_cache off; + proxy_read_timeout 600s; - proxy_pass http://fhir_validator_app; + proxy_pass http://hl7_validator_service:3500/; } - location /validatorapi/ { + location /fhirpath/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; @@ -80,7 +112,7 @@ http { proxy_buffering off; proxy_cache off; - proxy_pass http://validator_service:4567/; + proxy_pass http://fhirpath:6789/; } } } diff --git a/config/nginx.conf b/config/nginx.conf index af4b461..a49b549 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -68,7 +68,37 @@ http { proxy_pass http://inferno:4567; } - location /validator { +# location /validator { +# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +# proxy_set_header Host $http_host; +# proxy_set_header X-Forwarded-Proto $scheme; +# proxy_set_header X-Forwarded-Port $server_port; +# proxy_redirect off; +# proxy_set_header Connection ''; +# proxy_http_version 1.1; +# chunked_transfer_encoding off; +# proxy_buffering off; +# proxy_cache off; +# +# proxy_pass http://fhir_validator_app; +# } + +# location /validatorapi/ { +# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +# proxy_set_header Host $http_host; +# proxy_set_header X-Forwarded-Proto $scheme; +# proxy_set_header X-Forwarded-Port $server_port; +# proxy_redirect off; +# proxy_set_header Connection ''; +# proxy_http_version 1.1; +# chunked_transfer_encoding off; +# proxy_buffering off; +# proxy_cache off; +# +# proxy_pass http://validator_service:4567/; +# } + + location /hl7validatorapi/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; @@ -79,23 +109,9 @@ http { chunked_transfer_encoding off; proxy_buffering off; proxy_cache off; + proxy_read_timeout 600s; - proxy_pass http://fhir_validator_app; - } - - location /validatorapi/ { - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header X-Forwarded-Port $server_port; - proxy_redirect off; - proxy_set_header Connection ''; - proxy_http_version 1.1; - chunked_transfer_encoding off; - proxy_buffering off; - proxy_cache off; - - proxy_pass http://validator_service:4567/; + proxy_pass http://hl7_validator_service:3500/; } } } diff --git a/config/presets/pas_ri.json b/config/presets/pas_ri.json index 6af34f6..a74e763 100644 --- a/config/presets/pas_ri.json +++ b/config/presets/pas_ri.json @@ -23,7 +23,7 @@ "optional": true, "title": "PAS Submit Request Payload for Approval Response", "type": "textarea", - "value": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"ReferralAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: See above (Patient/SubscriberExample)

created: 2005-05-02 11:01:00+0500

insurer: See above (Organization/InsurerExample)

provider: See above (Organization/UMOExample)

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1See above (PractitionerRole/ReferralPractitionerRoleExample)

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueSee above (Coverage/InsuranceExample)

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter\",\n \"valueReference\": {\n \"reference\": \"Encounter/SurgicalEncounterExample\"\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"ServiceRequest/ReferralRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"unitPrice\": {\n \"value\": 1000,\n \"currency\": \"USD\"\n },\n \"quantity\": {\n \"value\": 1\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"additionalInformation\",\n \"display\": \"Additional Information\"\n }\n ]\n },\n \"sequence\": 1,\n \"valueReference\": {\n \"reference\": \"DocumentReference/episode-summary\"\n }\n },\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: See above (Patient/SubscriberExample)

payor: See above (Organization/InsurerExample)

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/ServiceRequest/ReferralRequestExample\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"ReferralRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: ServiceRequest

Resource ServiceRequest "ReferralRequestExample"

Profile: PAS Service Request

status: active

intent: order

code: Consultation (1365#3)

quantity: 1 visit (Details: UCUM code 1 = '1')

subject: See above (Patient/SubscriberExample)

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"occurrenceTiming\": {\n \"repeat\": {\n \"duration\": 15,\n \"durationMax\": 25,\n \"durationUnit\": \"min\",\n \"frequency\": 1,\n \"frequencyMax\": 4,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information\",\n \"extension\": [\n {\n \"url\": \"coverage\",\n \"valueReference\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n },\n {\n \"url\": \"covered\",\n \"valueCode\": \"covered\"\n },\n {\n \"url\": \"pa-needed\",\n \"valueCode\": \"auth-needed\"\n },\n {\n \"url\": \"date\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"coverage-assertion-id\",\n \"valueString\": \"1122445\"\n }\n ]\n }\n ],\n \"quantityQuantity\": {\n \"value\": 1,\n \"unit\": \"visit\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"1\"\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: See above (Practitioner/ReferralPractitionerExample)

location: See above (Location/ReferralLocationExample)

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DocumentReference/episode-summary\",\n \"resource\": {\n \"resourceType\": \"DocumentReference\",\n \"id\": \"episode-summary\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative

id: episode-summary

meta:

identifier: id: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document

category: Clinical Note

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

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

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

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
\"\n },\n \"identifier\": [\n {\n \"system\": \"urn:ietf:rfc:3986\",\n \"value\": \"urn:oid:2.16.840.1.113883.19.5.99999.1\"\n }\n ],\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://loinc.org\",\n \"code\": \"34133-9\",\n \"display\": \"Summary of episode note\"\n }\n ],\n \"text\": \"CCD Document\"\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category\",\n \"code\": \"clinical-note\",\n \"display\": \"Clinical Note\"\n }\n ],\n \"text\": \"Clinical Note\"\n }\n ],\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"date\": \"2016-03-09T15:29:46Z\",\n \"author\": [\n {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n ],\n \"description\": \"Pulmonology clinic acute visit\",\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"text/plain\",\n \"url\": \"/Binary/1-note\",\n \"title\": \"Uri where the data can be found: [base]/Binary/1-note\"\n },\n \"format\": {\n \"system\": \"urn:oid:1.3.6.1.4.1.19376.1.2.3\",\n \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\",\n \"display\": \"Documents following C-CDA constraints using a structured body\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2004-12-23T08:00:00+11:00\",\n \"end\": \"2004-12-23T08:01:00+11:00\"\n }\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Encounter/SurgicalEncounterExample\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"SurgicalEncounterExample\",\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative with Details

id: f201

identifier: Encounter_Roel_20130404 (TEMP)

status: finished

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

type: Consultation (Details : {SNOMED CT code '11429006' = 'Consultation', given as 'Consultation'})

priority: Normal (Details : {SNOMED CT code '17621005' = 'Normal', given as 'Normal'})

subject: Roel

Participants

-Individual
*Practitioner/ReferralPractitionerExample

reasonCode: The patient had fever peaks over the last couple of days. He is worried about these peaks. (Details )

serviceProvider: Organization/UMOExample

\"\n },\n \"identifier\": [\n {\n \"use\": \"temp\",\n \"system\": \"http://www.temp.com\",\n \"value\": \"Encounter_SubscriberExample_20130404\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"11429006\",\n \"display\": \"Consultation\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"17621005\",\n \"display\": \"Normal\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"REF\"\n }\n ]\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n }\n }\n ],\n \"reasonCode\": [\n {\n \"text\": \"The patient had fever peaks over the last couple of days. He is worried about these peaks.\"\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"hospitalization\": {\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/CodeSystem/PointOfOrigin\",\n \"code\": \"5\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/discharge-disposition\",\n \"code\": \"oth\"\n }\n ]\n }\n },\n \"location\": [\n {\n \"location\": {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n }\n ]\n }\n }\n ]\n }" + "value": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"ReferralAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: Patient/SubscriberExample

created: 2005-05-02 11:01:00+0500

insurer: Organization/InsurerExample

provider: Organization/UMOExample

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1PractitionerRole/ReferralPractitionerRoleExample

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueCoverage/InsuranceExample

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter\",\n \"valueReference\": {\n \"reference\": \"Encounter/SurgicalEncounterExample\"\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"ServiceRequest/ReferralRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"unitPrice\": {\n \"value\": 1000,\n \"currency\": \"USD\"\n },\n \"quantity\": {\n \"value\": 1\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"additionalInformation\",\n \"display\": \"Additional Information\"\n }\n ]\n },\n \"sequence\": 1,\n \"valueReference\": {\n \"reference\": \"DocumentReference/episode-summary\"\n }\n },\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: Patient/SubscriberExample

payor: Organization/InsurerExample

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/ServiceRequest/ReferralRequestExample\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"ReferralRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: ServiceRequest

Resource ServiceRequest "ReferralRequestExample"

Profile: PAS Service Request

status: active

intent: order

code: Consultation (1365#3)

quantity: 1 visit (Details: UCUM code 1 = '1')

subject: Patient/SubscriberExample

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"occurrenceTiming\": {\n \"repeat\": {\n \"duration\": 15,\n \"durationMax\": 25,\n \"durationUnit\": \"min\",\n \"frequency\": 1,\n \"frequencyMax\": 4,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information\",\n \"extension\": [\n {\n \"url\": \"coverage\",\n \"valueReference\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n },\n {\n \"url\": \"covered\",\n \"valueCode\": \"covered\"\n },\n {\n \"url\": \"pa-needed\",\n \"valueCode\": \"auth-needed\"\n },\n {\n \"url\": \"date\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"coverage-assertion-id\",\n \"valueString\": \"1122445\"\n }\n ]\n }\n ],\n \"quantityQuantity\": {\n \"value\": 1,\n \"unit\": \"visit\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"1\"\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: Practitioner/ReferralPractitionerExample

location: Location/ReferralLocationExample

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DocumentReference/episode-summary\",\n \"resource\": {\n \"resourceType\": \"DocumentReference\",\n \"id\": \"episode-summary\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative

id: episode-summary

meta:

identifier: id: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document

category: Clinical Note

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

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

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

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
\"\n },\n \"identifier\": [\n {\n \"system\": \"urn:ietf:rfc:3986\",\n \"value\": \"urn:oid:2.16.840.1.113883.19.5.99999.1\"\n }\n ],\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://loinc.org\",\n \"code\": \"34133-9\",\n \"display\": \"Summary of episode note\"\n }\n ],\n \"text\": \"CCD Document\"\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category\",\n \"code\": \"clinical-note\",\n \"display\": \"Clinical Note\"\n }\n ],\n \"text\": \"Clinical Note\"\n }\n ],\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"date\": \"2016-03-09T15:29:46Z\",\n \"author\": [\n {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n ],\n \"description\": \"Pulmonology clinic acute visit\",\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"text/plain\",\n \"url\": \"/Binary/1-note\",\n \"title\": \"Uri where the data can be found: [base]/Binary/1-note\"\n },\n \"format\": {\n \"system\": \"urn:oid:1.3.6.1.4.1.19376.1.2.3\",\n \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\",\n \"display\": \"Documents following C-CDA constraints using a structured body\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2004-12-23T08:00:00+11:00\",\n \"end\": \"2004-12-23T08:01:00+11:00\"\n }\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Encounter/SurgicalEncounterExample\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"SurgicalEncounterExample\",\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative with Details

id: f201

identifier: Encounter_Roel_20130404 (TEMP)

status: finished

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

type: Consultation (Details : {SNOMED CT code '11429006' = 'Consultation', given as 'Consultation'})

priority: Normal (Details : {SNOMED CT code '17621005' = 'Normal', given as 'Normal'})

subject: Roel

Participants

-Individual
*Practitioner/ReferralPractitionerExample

reasonCode: The patient had fever peaks over the last couple of days. He is worried about these peaks. (Details )

serviceProvider: Organization/UMOExample

\"\n },\n \"identifier\": [\n {\n \"use\": \"temp\",\n \"system\": \"http://www.temp.com\",\n \"value\": \"Encounter_SubscriberExample_20130404\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"11429006\",\n \"display\": \"Consultation\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"17621005\",\n \"display\": \"Normal\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"REF\"\n }\n ]\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n }\n }\n ],\n \"reasonCode\": [\n {\n \"text\": \"The patient had fever peaks over the last couple of days. He is worried about these peaks.\"\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"hospitalization\": {\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/CodeSystem/PointOfOrigin\",\n \"code\": \"5\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/discharge-disposition\",\n \"code\": \"oth\"\n }\n ]\n }\n },\n \"location\": [\n {\n \"location\": {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n }\n ]\n }\n }\n ]\n }" }, { "name": "denial_pa_submit_request_payload", @@ -31,7 +31,7 @@ "optional": true, "title": "PAS Submit Request Payload for Denial Response", "type": "textarea", - "value": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"ReferralAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: See above (Patient/SubscriberExample)

created: 2005-05-02 11:01:00+0500

insurer: See above (Organization/InsurerExample)

provider: See above (Organization/UMOExample)

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1See above (PractitionerRole/ReferralPractitionerRoleExample)

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueSee above (Coverage/InsuranceExample)

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter\",\n \"valueReference\": {\n \"reference\": \"Encounter/SurgicalEncounterExample\"\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"ServiceRequest/ReferralRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"unitPrice\": {\n \"value\": 1000,\n \"currency\": \"USD\"\n },\n \"quantity\": {\n \"value\": 1\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"additionalInformation\",\n \"display\": \"Additional Information\"\n }\n ]\n },\n \"sequence\": 1,\n \"valueReference\": {\n \"reference\": \"DocumentReference/episode-summary\"\n }\n },\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: See above (Patient/SubscriberExample)

payor: See above (Organization/InsurerExample)

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/ServiceRequest/ReferralRequestExample\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"ReferralRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: ServiceRequest

Resource ServiceRequest "ReferralRequestExample"

Profile: PAS Service Request

status: active

intent: order

code: Consultation (1365#3)

quantity: 1 visit (Details: UCUM code 1 = '1')

subject: See above (Patient/SubscriberExample)

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"occurrenceTiming\": {\n \"repeat\": {\n \"duration\": 15,\n \"durationMax\": 25,\n \"durationUnit\": \"min\",\n \"frequency\": 1,\n \"frequencyMax\": 4,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information\",\n \"extension\": [\n {\n \"url\": \"coverage\",\n \"valueReference\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n },\n {\n \"url\": \"covered\",\n \"valueCode\": \"covered\"\n },\n {\n \"url\": \"pa-needed\",\n \"valueCode\": \"auth-needed\"\n },\n {\n \"url\": \"date\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"coverage-assertion-id\",\n \"valueString\": \"1122445\"\n }\n ]\n }\n ],\n \"quantityQuantity\": {\n \"value\": 1,\n \"unit\": \"visit\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"1\"\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: See above (Practitioner/ReferralPractitionerExample)

location: See above (Location/ReferralLocationExample)

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DocumentReference/episode-summary\",\n \"resource\": {\n \"resourceType\": \"DocumentReference\",\n \"id\": \"episode-summary\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative

id: episode-summary

meta:

identifier: id: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document

category: Clinical Note

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

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

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

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
\"\n },\n \"identifier\": [\n {\n \"system\": \"urn:ietf:rfc:3986\",\n \"value\": \"urn:oid:2.16.840.1.113883.19.5.99999.1\"\n }\n ],\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://loinc.org\",\n \"code\": \"34133-9\",\n \"display\": \"Summary of episode note\"\n }\n ],\n \"text\": \"CCD Document\"\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category\",\n \"code\": \"clinical-note\",\n \"display\": \"Clinical Note\"\n }\n ],\n \"text\": \"Clinical Note\"\n }\n ],\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"date\": \"2016-03-09T15:29:46Z\",\n \"author\": [\n {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n ],\n \"description\": \"Pulmonology clinic acute visit\",\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"text/plain\",\n \"url\": \"/Binary/1-note\",\n \"title\": \"Uri where the data can be found: [base]/Binary/1-note\"\n },\n \"format\": {\n \"system\": \"urn:oid:1.3.6.1.4.1.19376.1.2.3\",\n \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\",\n \"display\": \"Documents following C-CDA constraints using a structured body\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2004-12-23T08:00:00+11:00\",\n \"end\": \"2004-12-23T08:01:00+11:00\"\n }\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Encounter/SurgicalEncounterExample\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"SurgicalEncounterExample\",\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative with Details

id: f201

identifier: Encounter_Roel_20130404 (TEMP)

status: finished

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

type: Consultation (Details : {SNOMED CT code '11429006' = 'Consultation', given as 'Consultation'})

priority: Normal (Details : {SNOMED CT code '17621005' = 'Normal', given as 'Normal'})

subject: Roel

Participants

-Individual
*Practitioner/ReferralPractitionerExample

reasonCode: The patient had fever peaks over the last couple of days. He is worried about these peaks. (Details )

serviceProvider: Organization/UMOExample

\"\n },\n \"identifier\": [\n {\n \"use\": \"temp\",\n \"system\": \"http://www.temp.com\",\n \"value\": \"Encounter_SubscriberExample_20130404\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"11429006\",\n \"display\": \"Consultation\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"17621005\",\n \"display\": \"Normal\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"REF\"\n }\n ]\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n }\n }\n ],\n \"reasonCode\": [\n {\n \"text\": \"The patient had fever peaks over the last couple of days. He is worried about these peaks.\"\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"hospitalization\": {\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/CodeSystem/PointOfOrigin\",\n \"code\": \"5\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/discharge-disposition\",\n \"code\": \"oth\"\n }\n ]\n }\n },\n \"location\": [\n {\n \"location\": {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n }\n ]\n }\n }\n ]\n }" + "value": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"ReferralAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: Patient/SubscriberExample

created: 2005-05-02 11:01:00+0500

insurer: Organization/InsurerExample

provider: Organization/UMOExample

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1PractitionerRole/ReferralPractitionerRoleExample

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueCoverage/InsuranceExample

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter\",\n \"valueReference\": {\n \"reference\": \"Encounter/SurgicalEncounterExample\"\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"ServiceRequest/ReferralRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"unitPrice\": {\n \"value\": 1000,\n \"currency\": \"USD\"\n },\n \"quantity\": {\n \"value\": 1\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"additionalInformation\",\n \"display\": \"Additional Information\"\n }\n ]\n },\n \"sequence\": 1,\n \"valueReference\": {\n \"reference\": \"DocumentReference/episode-summary\"\n }\n },\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: Patient/SubscriberExample

payor: Organization/InsurerExample

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/ServiceRequest/ReferralRequestExample\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"ReferralRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: ServiceRequest

Resource ServiceRequest "ReferralRequestExample"

Profile: PAS Service Request

status: active

intent: order

code: Consultation (1365#3)

quantity: 1 visit (Details: UCUM code 1 = '1')

subject: Patient/SubscriberExample

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"occurrenceTiming\": {\n \"repeat\": {\n \"duration\": 15,\n \"durationMax\": 25,\n \"durationUnit\": \"min\",\n \"frequency\": 1,\n \"frequencyMax\": 4,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information\",\n \"extension\": [\n {\n \"url\": \"coverage\",\n \"valueReference\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n },\n {\n \"url\": \"covered\",\n \"valueCode\": \"covered\"\n },\n {\n \"url\": \"pa-needed\",\n \"valueCode\": \"auth-needed\"\n },\n {\n \"url\": \"date\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"coverage-assertion-id\",\n \"valueString\": \"1122445\"\n }\n ]\n }\n ],\n \"quantityQuantity\": {\n \"value\": 1,\n \"unit\": \"visit\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"1\"\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: Practitioner/ReferralPractitionerExample

location: Location/ReferralLocationExample

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DocumentReference/episode-summary\",\n \"resource\": {\n \"resourceType\": \"DocumentReference\",\n \"id\": \"episode-summary\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative

id: episode-summary

meta:

identifier: id: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document

category: Clinical Note

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

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

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

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
\"\n },\n \"identifier\": [\n {\n \"system\": \"urn:ietf:rfc:3986\",\n \"value\": \"urn:oid:2.16.840.1.113883.19.5.99999.1\"\n }\n ],\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://loinc.org\",\n \"code\": \"34133-9\",\n \"display\": \"Summary of episode note\"\n }\n ],\n \"text\": \"CCD Document\"\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category\",\n \"code\": \"clinical-note\",\n \"display\": \"Clinical Note\"\n }\n ],\n \"text\": \"Clinical Note\"\n }\n ],\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"date\": \"2016-03-09T15:29:46Z\",\n \"author\": [\n {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n ],\n \"description\": \"Pulmonology clinic acute visit\",\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"text/plain\",\n \"url\": \"/Binary/1-note\",\n \"title\": \"Uri where the data can be found: [base]/Binary/1-note\"\n },\n \"format\": {\n \"system\": \"urn:oid:1.3.6.1.4.1.19376.1.2.3\",\n \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\",\n \"display\": \"Documents following C-CDA constraints using a structured body\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2004-12-23T08:00:00+11:00\",\n \"end\": \"2004-12-23T08:01:00+11:00\"\n }\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Encounter/SurgicalEncounterExample\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"SurgicalEncounterExample\",\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative with Details

id: f201

identifier: Encounter_Roel_20130404 (TEMP)

status: finished

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

type: Consultation (Details : {SNOMED CT code '11429006' = 'Consultation', given as 'Consultation'})

priority: Normal (Details : {SNOMED CT code '17621005' = 'Normal', given as 'Normal'})

subject: Roel

Participants

-Individual
*Practitioner/ReferralPractitionerExample

reasonCode: The patient had fever peaks over the last couple of days. He is worried about these peaks. (Details )

serviceProvider: Organization/UMOExample

\"\n },\n \"identifier\": [\n {\n \"use\": \"temp\",\n \"system\": \"http://www.temp.com\",\n \"value\": \"Encounter_SubscriberExample_20130404\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"11429006\",\n \"display\": \"Consultation\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"17621005\",\n \"display\": \"Normal\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"REF\"\n }\n ]\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n }\n }\n ],\n \"reasonCode\": [\n {\n \"text\": \"The patient had fever peaks over the last couple of days. He is worried about these peaks.\"\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"hospitalization\": {\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/CodeSystem/PointOfOrigin\",\n \"code\": \"5\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/discharge-disposition\",\n \"code\": \"oth\"\n }\n ]\n }\n },\n \"location\": [\n {\n \"location\": {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n }\n ]\n }\n }\n ]\n }" }, { "name": "pended_pa_submit_request_payload", @@ -39,7 +39,7 @@ "optional": true, "title": "PAS Submit Request Payload for Pended Response", "type": "textarea", - "value": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"DeviceAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: See above (Patient/SubscriberExample)

created: 2005-05-02 11:01:00+0500

insurer: See above (Organization/InsurerExample)

provider: See above (Organization/UMOExample)

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1See above (PractitionerRole/ReferralPractitionerRoleExample)

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueSee above (Coverage/InsuranceExample)

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter\",\n \"valueReference\": {\n \"reference\": \"Encounter/SurgicalEncounterExample\"\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"DeviceRequest/DeviceRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"unitPrice\": {\n \"value\": 1000,\n \"currency\": \"USD\"\n },\n \"quantity\": {\n \"value\": 1\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"additionalInformation\",\n \"display\": \"Additional Information\"\n }\n ]\n },\n \"sequence\": 1,\n \"valueReference\": {\n \"reference\": \"DocumentReference/episode-summary\"\n }\n },\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: See above (Patient/SubscriberExample)

payor: See above (Organization/InsurerExample)

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DeviceRequest/DeviceRequestExample\",\n \"resource\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"DeviceRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-devicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: DeviceRequest

Resource DeviceRequest "DeviceRequestExample"

Profile: PAS Device Request

status: active

intent: order

code: E1223 (HCPCSReleaseCodeSets#E1223)

subject: Patient/SubscriberExample " SMITH"

authoredOn: 2005-06-02

requester: Practitioner/ReferralPractitionerExample " WATSON"

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E1223\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information\",\n \"extension\": [\n {\n \"url\": \"coverage\",\n \"valueReference\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n },\n {\n \"url\": \"covered\",\n \"valueCode\": \"covered\"\n },\n {\n \"url\": \"pa-needed\",\n \"valueCode\": \"auth-needed\"\n },\n {\n \"url\": \"date\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"coverage-assertion-id\",\n \"valueString\": \"1122445\"\n }\n ]\n }\n ],\n \"authoredOn\": \"2005-06-02\",\n \"occurrenceTiming\": {\n \"repeat\": {\n \"duration\": 15,\n \"durationMax\": 25,\n \"durationUnit\": \"min\",\n \"frequency\": 1,\n \"frequencyMax\": 4,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"requester\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: See above (Practitioner/ReferralPractitionerExample)

location: See above (Location/ReferralLocationExample)

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DocumentReference/episode-summary\",\n \"resource\": {\n \"resourceType\": \"DocumentReference\",\n \"id\": \"episode-summary\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative

id: episode-summary

meta:

identifier: id: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document

category: Clinical Note

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

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

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

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
\"\n },\n \"identifier\": [\n {\n \"system\": \"urn:ietf:rfc:3986\",\n \"value\": \"urn:oid:2.16.840.1.113883.19.5.99999.1\"\n }\n ],\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://loinc.org\",\n \"code\": \"34133-9\",\n \"display\": \"Summary of episode note\"\n }\n ],\n \"text\": \"CCD Document\"\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category\",\n \"code\": \"clinical-note\",\n \"display\": \"Clinical Note\"\n }\n ],\n \"text\": \"Clinical Note\"\n }\n ],\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"date\": \"2016-03-09T15:29:46Z\",\n \"author\": [\n {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n ],\n \"description\": \"Pulmonology clinic acute visit\",\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"text/plain\",\n \"url\": \"/Binary/1-note\",\n \"title\": \"Uri where the data can be found: [base]/Binary/1-note\"\n },\n \"format\": {\n \"system\": \"urn:oid:1.3.6.1.4.1.19376.1.2.3\",\n \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\",\n \"display\": \"Documents following C-CDA constraints using a structured body\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2004-12-23T08:00:00+11:00\",\n \"end\": \"2004-12-23T08:01:00+11:00\"\n }\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Encounter/SurgicalEncounterExample\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"SurgicalEncounterExample\",\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative with Details

id: f201

identifier: Encounter_Roel_20130404 (TEMP)

status: finished

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

type: Consultation (Details : {SNOMED CT code '11429006' = 'Consultation', given as 'Consultation'})

priority: Normal (Details : {SNOMED CT code '17621005' = 'Normal', given as 'Normal'})

subject: Roel

Participants

-Individual
*Practitioner/ReferralPractitionerExample

reasonCode: The patient had fever peaks over the last couple of days. He is worried about these peaks. (Details )

serviceProvider: Organization/UMOExample

\"\n },\n \"identifier\": [\n {\n \"use\": \"temp\",\n \"system\": \"http://www.temp.com\",\n \"value\": \"Encounter_SubscriberExample_20130404\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"11429006\",\n \"display\": \"Consultation\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"17621005\",\n \"display\": \"Normal\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"REF\"\n }\n ]\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n }\n }\n ],\n \"reasonCode\": [\n {\n \"text\": \"The patient had fever peaks over the last couple of days. He is worried about these peaks.\"\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"hospitalization\": {\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/CodeSystem/PointOfOrigin\",\n \"code\": \"5\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/discharge-disposition\",\n \"code\": \"oth\"\n }\n ]\n }\n },\n \"location\": [\n {\n \"location\": {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n }\n ]\n }\n }\n ]\n }" + "value": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"DeviceAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: Patient/SubscriberExample

created: 2005-05-02 11:01:00+0500

insurer: Organization/InsurerExample

provider: Organization/UMOExample

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1PractitionerRole/ReferralPractitionerRoleExample

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueCoverage/InsuranceExample

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter\",\n \"valueReference\": {\n \"reference\": \"Encounter/SurgicalEncounterExample\"\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"DeviceRequest/DeviceRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"unitPrice\": {\n \"value\": 1000,\n \"currency\": \"USD\"\n },\n \"quantity\": {\n \"value\": 1\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"additionalInformation\",\n \"display\": \"Additional Information\"\n }\n ]\n },\n \"sequence\": 1,\n \"valueReference\": {\n \"reference\": \"DocumentReference/episode-summary\"\n }\n },\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: Patient/SubscriberExample

payor: Organization/InsurerExample

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DeviceRequest/DeviceRequestExample\",\n \"resource\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"DeviceRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-devicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: DeviceRequest

Resource DeviceRequest "DeviceRequestExample"

Profile: PAS Device Request

status: active

intent: order

code: E1223 (HCPCSReleaseCodeSets#E1223)

subject: Patient/SubscriberExample " SMITH"

authoredOn: 2005-06-02

requester: Practitioner/ReferralPractitionerExample " WATSON"

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E1223\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information\",\n \"extension\": [\n {\n \"url\": \"coverage\",\n \"valueReference\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n },\n {\n \"url\": \"covered\",\n \"valueCode\": \"covered\"\n },\n {\n \"url\": \"pa-needed\",\n \"valueCode\": \"auth-needed\"\n },\n {\n \"url\": \"date\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"coverage-assertion-id\",\n \"valueString\": \"1122445\"\n }\n ]\n }\n ],\n \"authoredOn\": \"2005-06-02\",\n \"occurrenceTiming\": {\n \"repeat\": {\n \"duration\": 15,\n \"durationMax\": 25,\n \"durationUnit\": \"min\",\n \"frequency\": 1,\n \"frequencyMax\": 4,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"requester\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: Practitioner/ReferralPractitionerExample

location: Location/ReferralLocationExample

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DocumentReference/episode-summary\",\n \"resource\": {\n \"resourceType\": \"DocumentReference\",\n \"id\": \"episode-summary\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative

id: episode-summary

meta:

identifier: id: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document

category: Clinical Note

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

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

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

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
\"\n },\n \"identifier\": [\n {\n \"system\": \"urn:ietf:rfc:3986\",\n \"value\": \"urn:oid:2.16.840.1.113883.19.5.99999.1\"\n }\n ],\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://loinc.org\",\n \"code\": \"34133-9\",\n \"display\": \"Summary of episode note\"\n }\n ],\n \"text\": \"CCD Document\"\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category\",\n \"code\": \"clinical-note\",\n \"display\": \"Clinical Note\"\n }\n ],\n \"text\": \"Clinical Note\"\n }\n ],\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"date\": \"2016-03-09T15:29:46Z\",\n \"author\": [\n {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n ],\n \"description\": \"Pulmonology clinic acute visit\",\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"text/plain\",\n \"url\": \"/Binary/1-note\",\n \"title\": \"Uri where the data can be found: [base]/Binary/1-note\"\n },\n \"format\": {\n \"system\": \"urn:oid:1.3.6.1.4.1.19376.1.2.3\",\n \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\",\n \"display\": \"Documents following C-CDA constraints using a structured body\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2004-12-23T08:00:00+11:00\",\n \"end\": \"2004-12-23T08:01:00+11:00\"\n }\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Encounter/SurgicalEncounterExample\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"SurgicalEncounterExample\",\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative with Details

id: f201

identifier: Encounter_Roel_20130404 (TEMP)

status: finished

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

type: Consultation (Details : {SNOMED CT code '11429006' = 'Consultation', given as 'Consultation'})

priority: Normal (Details : {SNOMED CT code '17621005' = 'Normal', given as 'Normal'})

subject: Roel

Participants

-Individual
*Practitioner/ReferralPractitionerExample

reasonCode: The patient had fever peaks over the last couple of days. He is worried about these peaks. (Details )

serviceProvider: Organization/UMOExample

\"\n },\n \"identifier\": [\n {\n \"use\": \"temp\",\n \"system\": \"http://www.temp.com\",\n \"value\": \"Encounter_SubscriberExample_20130404\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"11429006\",\n \"display\": \"Consultation\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"17621005\",\n \"display\": \"Normal\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"REF\"\n }\n ]\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n }\n }\n ],\n \"reasonCode\": [\n {\n \"text\": \"The patient had fever peaks over the last couple of days. He is worried about these peaks.\"\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"hospitalization\": {\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/CodeSystem/PointOfOrigin\",\n \"code\": \"5\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/discharge-disposition\",\n \"code\": \"oth\"\n }\n ]\n }\n },\n \"location\": [\n {\n \"location\": {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n }\n ]\n }\n }\n ]\n }" }, { "name": "pa_inquire_request_payload", @@ -47,7 +47,7 @@ "optional": true, "title": "PAS Inquiry Request Payload", "type": "textarea", - "value": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"PASBundleInquiryExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/PASClaimInquiryExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"PASClaimInquiryExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: See above (Patient/SubscriberExample)

created: 2005-05-02 11:01:00+0500

insurer: See above (Organization/InsurerExample)

provider: See above (Organization/UMOExample)

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1See above (PractitionerRole/ReferralPractitionerRoleExample)

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueSee above (Coverage/InsuranceExample)

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"billablePeriod\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n },\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"HS\",\n \"display\": \"Health Services Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationIssueDate\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationExpirationDate\",\n \"valueDate\": \"2022-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationEffectiveDate\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-reviewActionCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/306\",\n \"code\": \"A1\",\n \"display\": \"Certified in total\"\n }\n ]\n }\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"quantity\": {\n \"value\": 1\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"G0154\"\n }\n ]\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"HS\",\n \"display\": \"Health Services Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n }\n ],\n \"sequence\": 2,\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"B4184\"\n }\n ]\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n }\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: See above (Patient/SubscriberExample)

payor: See above (Organization/InsurerExample)

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: See above (Practitioner/ReferralPractitionerExample)

location: See above (Location/ReferralLocationExample)

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n }\n ]\n}" + "value": "{\n \"resourceType\": \"Bundle\",\n \"id\": \"PASBundleInquiryExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/PASClaimInquiryExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"PASClaimInquiryExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: Patient/SubscriberExample

created: 2005-05-02 11:01:00+0500

insurer: Organization/InsurerExample

provider: Organization/UMOExample

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1PractitionerRole/ReferralPractitionerRoleExample

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueCoverage/InsuranceExample

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"billablePeriod\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n },\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"HS\",\n \"display\": \"Health Services Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationIssueDate\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationExpirationDate\",\n \"valueDate\": \"2022-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationEffectiveDate\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-reviewActionCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/306\",\n \"code\": \"A1\",\n \"display\": \"Certified in total\"\n }\n ]\n }\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"quantity\": {\n \"value\": 1\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"G0154\"\n }\n ]\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"HS\",\n \"display\": \"Health Services Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n }\n ],\n \"sequence\": 2,\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"B4184\"\n }\n ]\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n }\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: Patient/SubscriberExample

payor: Organization/InsurerExample

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: Practitioner/ReferralPractitionerExample

location: Location/ReferralLocationExample

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n }\n ]\n}" }, { "name": "must_support_pa_submit_request_payload", @@ -55,7 +55,7 @@ "optional": true, "title": "Additional PAS Submit Request Payloads", "type": "textarea", - "value": "[\n {\n \"resourceType\": \"Bundle\",\n \"id\": \"DeviceAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: See above (Patient/SubscriberExample)

created: 2005-05-02 11:01:00+0500

insurer: See above (Organization/InsurerExample)

provider: See above (Organization/UMOExample)

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1See above (PractitionerRole/ReferralPractitionerRoleExample)

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueSee above (Coverage/InsuranceExample)

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter\",\n \"valueReference\": {\n \"reference\": \"Encounter/SurgicalEncounterExample\"\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"DeviceRequest/DeviceRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"unitPrice\": {\n \"value\": 1000,\n \"currency\": \"USD\"\n },\n \"quantity\": {\n \"value\": 1\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"additionalInformation\",\n \"display\": \"Additional Information\"\n }\n ]\n },\n \"sequence\": 1,\n \"valueReference\": {\n \"reference\": \"DocumentReference/episode-summary\"\n }\n },\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: See above (Patient/SubscriberExample)

payor: See above (Organization/InsurerExample)

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DeviceRequest/DeviceRequestExample\",\n \"resource\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"DeviceRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-devicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: DeviceRequest

Resource DeviceRequest "DeviceRequestExample"

Profile: PAS Device Request

status: active

intent: order

code: E1223 (HCPCSReleaseCodeSets#E1223)

subject: Patient/SubscriberExample " SMITH"

authoredOn: 2005-06-02

requester: Practitioner/ReferralPractitionerExample " WATSON"

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E1223\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information\",\n \"extension\": [\n {\n \"url\": \"coverage\",\n \"valueReference\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n },\n {\n \"url\": \"covered\",\n \"valueCode\": \"covered\"\n },\n {\n \"url\": \"pa-needed\",\n \"valueCode\": \"auth-needed\"\n },\n {\n \"url\": \"date\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"coverage-assertion-id\",\n \"valueString\": \"1122445\"\n }\n ]\n }\n ],\n \"authoredOn\": \"2005-06-02\",\n \"occurrenceTiming\": {\n \"repeat\": {\n \"duration\": 15,\n \"durationMax\": 25,\n \"durationUnit\": \"min\",\n \"frequency\": 1,\n \"frequencyMax\": 4,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"requester\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: See above (Practitioner/ReferralPractitionerExample)

location: See above (Location/ReferralLocationExample)

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DocumentReference/episode-summary\",\n \"resource\": {\n \"resourceType\": \"DocumentReference\",\n \"id\": \"episode-summary\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative

id: episode-summary

meta:

identifier: id: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document

category: Clinical Note

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

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

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

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
\"\n },\n \"identifier\": [\n {\n \"system\": \"urn:ietf:rfc:3986\",\n \"value\": \"urn:oid:2.16.840.1.113883.19.5.99999.1\"\n }\n ],\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://loinc.org\",\n \"code\": \"34133-9\",\n \"display\": \"Summary of episode note\"\n }\n ],\n \"text\": \"CCD Document\"\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category\",\n \"code\": \"clinical-note\",\n \"display\": \"Clinical Note\"\n }\n ],\n \"text\": \"Clinical Note\"\n }\n ],\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"date\": \"2016-03-09T15:29:46Z\",\n \"author\": [\n {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n ],\n \"description\": \"Pulmonology clinic acute visit\",\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"text/plain\",\n \"url\": \"/Binary/1-note\",\n \"title\": \"Uri where the data can be found: [base]/Binary/1-note\"\n },\n \"format\": {\n \"system\": \"urn:oid:1.3.6.1.4.1.19376.1.2.3\",\n \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\",\n \"display\": \"Documents following C-CDA constraints using a structured body\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2004-12-23T08:00:00+11:00\",\n \"end\": \"2004-12-23T08:01:00+11:00\"\n }\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Encounter/SurgicalEncounterExample\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"SurgicalEncounterExample\",\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative with Details

id: f201

identifier: Encounter_Roel_20130404 (TEMP)

status: finished

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

type: Consultation (Details : {SNOMED CT code '11429006' = 'Consultation', given as 'Consultation'})

priority: Normal (Details : {SNOMED CT code '17621005' = 'Normal', given as 'Normal'})

subject: Roel

Participants

-Individual
*Practitioner/ReferralPractitionerExample

reasonCode: The patient had fever peaks over the last couple of days. He is worried about these peaks. (Details )

serviceProvider: Organization/UMOExample

\"\n },\n \"identifier\": [\n {\n \"use\": \"temp\",\n \"system\": \"http://www.temp.com\",\n \"value\": \"Encounter_SubscriberExample_20130404\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"11429006\",\n \"display\": \"Consultation\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"17621005\",\n \"display\": \"Normal\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"REF\"\n }\n ]\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n }\n }\n ],\n \"reasonCode\": [\n {\n \"text\": \"The patient had fever peaks over the last couple of days. He is worried about these peaks.\"\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"hospitalization\": {\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/CodeSystem/PointOfOrigin\",\n \"code\": \"5\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/discharge-disposition\",\n \"code\": \"oth\"\n }\n ]\n }\n },\n \"location\": [\n {\n \"location\": {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n }\n ]\n }\n }\n ]\n },\n {\n \"resourceType\": \"Bundle\",\n \"id\": \"ReferralAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: See above (Patient/SubscriberExample)

created: 2005-05-02 11:01:00+0500

insurer: See above (Organization/InsurerExample)

provider: See above (Organization/UMOExample)

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1See above (PractitionerRole/ReferralPractitionerRoleExample)

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueSee above (Coverage/InsuranceExample)

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter\",\n \"valueReference\": {\n \"reference\": \"Encounter/SurgicalEncounterExample\"\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"ServiceRequest/ReferralRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"unitPrice\": {\n \"value\": 1000,\n \"currency\": \"USD\"\n },\n \"quantity\": {\n \"value\": 1\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"additionalInformation\",\n \"display\": \"Additional Information\"\n }\n ]\n },\n \"sequence\": 1,\n \"valueReference\": {\n \"reference\": \"DocumentReference/episode-summary\"\n }\n },\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: See above (Patient/SubscriberExample)

payor: See above (Organization/InsurerExample)

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/ServiceRequest/ReferralRequestExample\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"ReferralRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: ServiceRequest

Resource ServiceRequest "ReferralRequestExample"

Profile: PAS Service Request

status: active

intent: order

code: Consultation (1365#3)

quantity: 1 visit (Details: UCUM code 1 = '1')

subject: See above (Patient/SubscriberExample)

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"occurrenceTiming\": {\n \"repeat\": {\n \"duration\": 15,\n \"durationMax\": 25,\n \"durationUnit\": \"min\",\n \"frequency\": 1,\n \"frequencyMax\": 4,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information\",\n \"extension\": [\n {\n \"url\": \"coverage\",\n \"valueReference\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n },\n {\n \"url\": \"covered\",\n \"valueCode\": \"covered\"\n },\n {\n \"url\": \"pa-needed\",\n \"valueCode\": \"auth-needed\"\n },\n {\n \"url\": \"date\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"coverage-assertion-id\",\n \"valueString\": \"1122445\"\n }\n ]\n }\n ],\n \"quantityQuantity\": {\n \"value\": 1,\n \"unit\": \"visit\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"1\"\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: See above (Practitioner/ReferralPractitionerExample)

location: See above (Location/ReferralLocationExample)

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DocumentReference/episode-summary\",\n \"resource\": {\n \"resourceType\": \"DocumentReference\",\n \"id\": \"episode-summary\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative

id: episode-summary

meta:

identifier: id: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document

category: Clinical Note

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

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

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

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
\"\n },\n \"identifier\": [\n {\n \"system\": \"urn:ietf:rfc:3986\",\n \"value\": \"urn:oid:2.16.840.1.113883.19.5.99999.1\"\n }\n ],\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://loinc.org\",\n \"code\": \"34133-9\",\n \"display\": \"Summary of episode note\"\n }\n ],\n \"text\": \"CCD Document\"\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category\",\n \"code\": \"clinical-note\",\n \"display\": \"Clinical Note\"\n }\n ],\n \"text\": \"Clinical Note\"\n }\n ],\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"date\": \"2016-03-09T15:29:46Z\",\n \"author\": [\n {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n ],\n \"description\": \"Pulmonology clinic acute visit\",\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"text/plain\",\n \"url\": \"/Binary/1-note\",\n \"title\": \"Uri where the data can be found: [base]/Binary/1-note\"\n },\n \"format\": {\n \"system\": \"urn:oid:1.3.6.1.4.1.19376.1.2.3\",\n \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\",\n \"display\": \"Documents following C-CDA constraints using a structured body\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2004-12-23T08:00:00+11:00\",\n \"end\": \"2004-12-23T08:01:00+11:00\"\n }\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Encounter/SurgicalEncounterExample\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"SurgicalEncounterExample\",\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative with Details

id: f201

identifier: Encounter_Roel_20130404 (TEMP)

status: finished

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

type: Consultation (Details : {SNOMED CT code '11429006' = 'Consultation', given as 'Consultation'})

priority: Normal (Details : {SNOMED CT code '17621005' = 'Normal', given as 'Normal'})

subject: Roel

Participants

-Individual
*Practitioner/ReferralPractitionerExample

reasonCode: The patient had fever peaks over the last couple of days. He is worried about these peaks. (Details )

serviceProvider: Organization/UMOExample

\"\n },\n \"identifier\": [\n {\n \"use\": \"temp\",\n \"system\": \"http://www.temp.com\",\n \"value\": \"Encounter_SubscriberExample_20130404\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"11429006\",\n \"display\": \"Consultation\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"17621005\",\n \"display\": \"Normal\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"REF\"\n }\n ]\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n }\n }\n ],\n \"reasonCode\": [\n {\n \"text\": \"The patient had fever peaks over the last couple of days. He is worried about these peaks.\"\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"hospitalization\": {\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/CodeSystem/PointOfOrigin\",\n \"code\": \"5\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/discharge-disposition\",\n \"code\": \"oth\"\n }\n ]\n }\n },\n \"location\": [\n {\n \"location\": {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n }\n ]\n }\n }\n ]\n }\n]" + "value": "[\n {\n \"resourceType\": \"Bundle\",\n \"id\": \"DeviceAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: Patient/SubscriberExample

created: 2005-05-02 11:01:00+0500

insurer: Organization/InsurerExample

provider: Organization/UMOExample

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1PractitionerRole/ReferralPractitionerRoleExample

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueCoverage/InsuranceExample

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter\",\n \"valueReference\": {\n \"reference\": \"Encounter/SurgicalEncounterExample\"\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"DeviceRequest/DeviceRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"unitPrice\": {\n \"value\": 1000,\n \"currency\": \"USD\"\n },\n \"quantity\": {\n \"value\": 1\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"additionalInformation\",\n \"display\": \"Additional Information\"\n }\n ]\n },\n \"sequence\": 1,\n \"valueReference\": {\n \"reference\": \"DocumentReference/episode-summary\"\n }\n },\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: Patient/SubscriberExample

payor: Organization/InsurerExample

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DeviceRequest/DeviceRequestExample\",\n \"resource\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"DeviceRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-devicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: DeviceRequest

Resource DeviceRequest "DeviceRequestExample"

Profile: PAS Device Request

status: active

intent: order

code: E1223 (HCPCSReleaseCodeSets#E1223)

subject: Patient/SubscriberExample " SMITH"

authoredOn: 2005-06-02

requester: Practitioner/ReferralPractitionerExample " WATSON"

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E1223\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information\",\n \"extension\": [\n {\n \"url\": \"coverage\",\n \"valueReference\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n },\n {\n \"url\": \"covered\",\n \"valueCode\": \"covered\"\n },\n {\n \"url\": \"pa-needed\",\n \"valueCode\": \"auth-needed\"\n },\n {\n \"url\": \"date\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"coverage-assertion-id\",\n \"valueString\": \"1122445\"\n }\n ]\n }\n ],\n \"authoredOn\": \"2005-06-02\",\n \"occurrenceTiming\": {\n \"repeat\": {\n \"duration\": 15,\n \"durationMax\": 25,\n \"durationUnit\": \"min\",\n \"frequency\": 1,\n \"frequencyMax\": 4,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"requester\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: Practitioner/ReferralPractitionerExample

location: Location/ReferralLocationExample

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DocumentReference/episode-summary\",\n \"resource\": {\n \"resourceType\": \"DocumentReference\",\n \"id\": \"episode-summary\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative

id: episode-summary

meta:

identifier: id: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document

category: Clinical Note

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

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

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

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
\"\n },\n \"identifier\": [\n {\n \"system\": \"urn:ietf:rfc:3986\",\n \"value\": \"urn:oid:2.16.840.1.113883.19.5.99999.1\"\n }\n ],\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://loinc.org\",\n \"code\": \"34133-9\",\n \"display\": \"Summary of episode note\"\n }\n ],\n \"text\": \"CCD Document\"\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category\",\n \"code\": \"clinical-note\",\n \"display\": \"Clinical Note\"\n }\n ],\n \"text\": \"Clinical Note\"\n }\n ],\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"date\": \"2016-03-09T15:29:46Z\",\n \"author\": [\n {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n ],\n \"description\": \"Pulmonology clinic acute visit\",\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"text/plain\",\n \"url\": \"/Binary/1-note\",\n \"title\": \"Uri where the data can be found: [base]/Binary/1-note\"\n },\n \"format\": {\n \"system\": \"urn:oid:1.3.6.1.4.1.19376.1.2.3\",\n \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\",\n \"display\": \"Documents following C-CDA constraints using a structured body\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2004-12-23T08:00:00+11:00\",\n \"end\": \"2004-12-23T08:01:00+11:00\"\n }\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Encounter/SurgicalEncounterExample\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"SurgicalEncounterExample\",\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative with Details

id: f201

identifier: Encounter_Roel_20130404 (TEMP)

status: finished

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

type: Consultation (Details : {SNOMED CT code '11429006' = 'Consultation', given as 'Consultation'})

priority: Normal (Details : {SNOMED CT code '17621005' = 'Normal', given as 'Normal'})

subject: Roel

Participants

-Individual
*Practitioner/ReferralPractitionerExample

reasonCode: The patient had fever peaks over the last couple of days. He is worried about these peaks. (Details )

serviceProvider: Organization/UMOExample

\"\n },\n \"identifier\": [\n {\n \"use\": \"temp\",\n \"system\": \"http://www.temp.com\",\n \"value\": \"Encounter_SubscriberExample_20130404\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"11429006\",\n \"display\": \"Consultation\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"17621005\",\n \"display\": \"Normal\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"REF\"\n }\n ]\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n }\n }\n ],\n \"reasonCode\": [\n {\n \"text\": \"The patient had fever peaks over the last couple of days. He is worried about these peaks.\"\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"hospitalization\": {\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/CodeSystem/PointOfOrigin\",\n \"code\": \"5\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/discharge-disposition\",\n \"code\": \"oth\"\n }\n ]\n }\n },\n \"location\": [\n {\n \"location\": {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n }\n ]\n }\n }\n ]\n },\n {\n \"resourceType\": \"Bundle\",\n \"id\": \"ReferralAuthorizationBundleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/ReferralAuthorizationExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"ReferralAuthorizationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: Patient/SubscriberExample

created: 2005-05-02 11:01:00+0500

insurer: Organization/InsurerExample

provider: Organization/UMOExample

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1PractitionerRole/ReferralPractitionerRoleExample

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueCoverage/InsuranceExample

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter\",\n \"valueReference\": {\n \"reference\": \"Encounter/SurgicalEncounterExample\"\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"SC\",\n \"display\": \"Specialty Care Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService\",\n \"valueReference\": {\n \"reference\": \"ServiceRequest/ReferralRequestExample\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator\",\n \"valueBoolean\": false\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1345\",\n \"code\": \"2\",\n \"display\": \"Newly Admitted\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1337\",\n \"code\": \"2\",\n \"display\": \"Intermediate Care Facility (ICF)\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit\",\n \"valueDecimal\": 100\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"unitPrice\": {\n \"value\": 1000,\n \"currency\": \"USD\"\n },\n \"quantity\": {\n \"value\": 1\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"additionalInformation\",\n \"display\": \"Additional Information\"\n }\n ]\n },\n \"sequence\": 1,\n \"valueReference\": {\n \"reference\": \"DocumentReference/episode-summary\"\n }\n },\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: Patient/SubscriberExample

payor: Organization/InsurerExample

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/ServiceRequest/ReferralRequestExample\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"ReferralRequestExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: ServiceRequest

Resource ServiceRequest "ReferralRequestExample"

Profile: PAS Service Request

status: active

intent: order

code: Consultation (1365#3)

quantity: 1 visit (Details: UCUM code 1 = '1')

subject: Patient/SubscriberExample

\"\n },\n \"status\": \"active\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"occurrenceTiming\": {\n \"repeat\": {\n \"duration\": 15,\n \"durationMax\": 25,\n \"durationUnit\": \"min\",\n \"frequency\": 1,\n \"frequencyMax\": 4,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information\",\n \"extension\": [\n {\n \"url\": \"coverage\",\n \"valueReference\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n },\n {\n \"url\": \"covered\",\n \"valueCode\": \"covered\"\n },\n {\n \"url\": \"pa-needed\",\n \"valueCode\": \"auth-needed\"\n },\n {\n \"url\": \"date\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"coverage-assertion-id\",\n \"valueString\": \"1122445\"\n }\n ]\n }\n ],\n \"quantityQuantity\": {\n \"value\": 1,\n \"unit\": \"visit\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"1\"\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: Practitioner/ReferralPractitionerExample

location: Location/ReferralLocationExample

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/DocumentReference/episode-summary\",\n \"resource\": {\n \"resourceType\": \"DocumentReference\",\n \"id\": \"episode-summary\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative

id: episode-summary

meta:

identifier: id: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document

category: Clinical Note

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

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

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

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
\"\n },\n \"identifier\": [\n {\n \"system\": \"urn:ietf:rfc:3986\",\n \"value\": \"urn:oid:2.16.840.1.113883.19.5.99999.1\"\n }\n ],\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://loinc.org\",\n \"code\": \"34133-9\",\n \"display\": \"Summary of episode note\"\n }\n ],\n \"text\": \"CCD Document\"\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category\",\n \"code\": \"clinical-note\",\n \"display\": \"Clinical Note\"\n }\n ],\n \"text\": \"Clinical Note\"\n }\n ],\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"date\": \"2016-03-09T15:29:46Z\",\n \"author\": [\n {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n }\n ],\n \"description\": \"Pulmonology clinic acute visit\",\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"text/plain\",\n \"url\": \"/Binary/1-note\",\n \"title\": \"Uri where the data can be found: [base]/Binary/1-note\"\n },\n \"format\": {\n \"system\": \"urn:oid:1.3.6.1.4.1.19376.1.2.3\",\n \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\",\n \"display\": \"Documents following C-CDA constraints using a structured body\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2004-12-23T08:00:00+11:00\",\n \"end\": \"2004-12-23T08:01:00+11:00\"\n }\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Encounter/SurgicalEncounterExample\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"SurgicalEncounterExample\",\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative with Details

id: f201

identifier: Encounter_Roel_20130404 (TEMP)

status: finished

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

type: Consultation (Details : {SNOMED CT code '11429006' = 'Consultation', given as 'Consultation'})

priority: Normal (Details : {SNOMED CT code '17621005' = 'Normal', given as 'Normal'})

subject: Roel

Participants

-Individual
*Practitioner/ReferralPractitionerExample

reasonCode: The patient had fever peaks over the last couple of days. He is worried about these peaks. (Details )

serviceProvider: Organization/UMOExample

\"\n },\n \"identifier\": [\n {\n \"use\": \"temp\",\n \"system\": \"http://www.temp.com\",\n \"value\": \"Encounter_SubscriberExample_20130404\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"11429006\",\n \"display\": \"Consultation\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"17621005\",\n \"display\": \"Normal\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"REF\"\n }\n ]\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n }\n }\n ],\n \"reasonCode\": [\n {\n \"text\": \"The patient had fever peaks over the last couple of days. He is worried about these peaks.\"\n }\n ],\n \"period\": {\n \"start\": \"2020-07-02\",\n \"end\": \"2020-07-09\"\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"hospitalization\": {\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/CodeSystem/PointOfOrigin\",\n \"code\": \"5\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/discharge-disposition\",\n \"code\": \"oth\"\n }\n ]\n }\n },\n \"location\": [\n {\n \"location\": {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n }\n ]\n }\n }\n ]\n }\n]" }, { "name": "must_support_pa_inquire_request_payload", @@ -63,7 +63,7 @@ "optional": true, "title": "Additional PAS Inquiry Request Payloads", "type": "textarea", - "value": "[\n{\n \"resourceType\": \"Bundle\",\n \"id\": \"PASBundleInquiryExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/PASClaimInquiryExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"PASClaimInquiryExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: See above (Patient/SubscriberExample)

created: 2005-05-02 11:01:00+0500

insurer: See above (Organization/InsurerExample)

provider: See above (Organization/UMOExample)

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1See above (PractitionerRole/ReferralPractitionerRoleExample)

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueSee above (Coverage/InsuranceExample)

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"billablePeriod\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n },\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"HS\",\n \"display\": \"Health Services Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationIssueDate\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationExpirationDate\",\n \"valueDate\": \"2022-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationEffectiveDate\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-reviewActionCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/306\",\n \"code\": \"A1\",\n \"display\": \"Certified in total\"\n }\n ]\n }\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"quantity\": {\n \"value\": 1\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"G0154\"\n }\n ]\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"HS\",\n \"display\": \"Health Services Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n }\n ],\n \"sequence\": 2,\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"B4184\"\n }\n ]\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: See above (Patient/SubscriberExample)

payor: See above (Organization/InsurerExample)

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: See above (Practitioner/ReferralPractitionerExample)

location: See above (Location/ReferralLocationExample)

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n }\n ]\n}\n]" + "value": "[\n{\n \"resourceType\": \"Bundle\",\n \"id\": \"PASBundleInquiryExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle\"\n ]\n },\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/SUBMITTER_TRANSACTION_IDENTIFIER\",\n \"value\": \"A12345\"\n },\n \"type\": \"collection\",\n \"timestamp\": \"2005-05-02T11:01:00+05:00\",\n \"entry\": [\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Claim/PASClaimInquiryExample\",\n \"resource\": {\n \"resourceType\": \"Claim\",\n \"id\": \"PASClaimInquiryExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Claim

Resource Claim "ReferralAuthorizationExample"

Profile: PAS Claim

LevelOfServiceCode: Urgent (1338#U)

identifier: id: 111099

status: active

type: Professional (Claim Type Codes#professional)

use: preauthorization

patient: Patient/SubscriberExample

created: 2005-05-02 11:01:00+0500

insurer: Organization/InsurerExample

provider: Organization/UMOExample

priority: Normal (Process Priority Codes#normal)

CareTeams

-ExtensionSequenceProvider
*1PractitionerRole/ReferralPractitionerRoleExample

Diagnoses

-ExtensionSequenceDiagnosis[x]
*1Chronic pain syndrome (International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)#G89.4)

Insurances

-SequenceFocalCoverage
*1trueCoverage/InsuranceExample

Items

-ExtensionSequenceCareTeamSequenceDiagnosisSequenceCategoryProductOrServiceLocation[x]
*, , , , , , , , , 111Consultation (1365#3)Consultation (1365#3)11 (CMS Place of Service Codes (POS)#11)
\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1338\",\n \"code\": \"U\",\n \"display\": \"Urgent\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n }\n ],\n \"identifier\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierJurisdiction\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.usps.com/\",\n \"code\": \"MA\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-identifierSubDepartment\",\n \"valueString\": \"223412\"\n }\n ],\n \"system\": \"http://davinci-pas.org/PATIENT_EVENT_TRACE_NUMBER\",\n \"value\": \"111099\",\n \"assigner\": {\n \"identifier\": {\n \"system\": \"http://davinci-pas.org/USER_ASSIGNED\",\n \"value\": \"9012345678\"\n }\n }\n }\n ],\n \"status\": \"active\",\n \"billablePeriod\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n },\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"created\": \"2005-05-02T11:01:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/InsurerExample\"\n },\n \"provider\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/processpriority\",\n \"code\": \"normal\"\n }\n ]\n },\n \"careTeam\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope\",\n \"valueBoolean\": true\n }\n ],\n \"sequence\": 1,\n \"provider\": {\n \"reference\": \"PractitionerRole/ReferralPractitionerRoleExample\"\n },\n \"qualification\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-providerqualification\",\n \"code\": \"604210\"\n }\n ]\n },\n \"role\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claimcareteamrole\",\n \"code\": \"primary\"\n }\n ]\n }\n }\n ],\n \"diagnosis\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate\",\n \"valueDate\": \"2021-05-10\"\n }\n ],\n \"sequence\": 1,\n \"diagnosisCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"G89.4\"\n }\n ]\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"patientreasonforvisit\"\n }\n ]\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"sequence\": 1,\n \"focal\": true,\n \"coverage\": {\n \"reference\": \"Coverage/InsuranceExample\"\n }\n }\n ],\n \"item\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber\",\n \"valueIdentifier\": {\n \"system\": \"http://davinci-pas.org/ITEM_TRACE_NUMBER\",\n \"value\": \"1122334\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber\",\n \"valueString\": \"1122445\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber\",\n \"valueString\": \"9988311\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"HS\",\n \"display\": \"Health Services Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationIssueDate\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationExpirationDate\",\n \"valueDate\": \"2022-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemCertificationEffectiveDate\",\n \"valueDate\": \"2021-09-10\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-reviewActionCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/306\",\n \"code\": \"A1\",\n \"display\": \"Certified in total\"\n }\n ]\n }\n }\n ],\n \"sequence\": 1,\n \"careTeamSequence\": [\n 1\n ],\n \"diagnosisSequence\": [\n 1\n ],\n \"informationSequence\": [\n 1\n ],\n \"revenue\": {\n \"coding\": [\n {\n \"system\": \"https://www.nubc.org/revenue-code\",\n \"code\": \"0105\"\n }\n ]\n },\n \"modifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"E0110\"\n }\n ]\n }\n ],\n \"servicedDate\": \"2016-08-09\",\n \"quantity\": {\n \"value\": 1\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n },\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"G0154\"\n }\n ]\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1525\",\n \"code\": \"HS\",\n \"display\": \"Health Services Review\"\n }\n ]\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1322\",\n \"code\": \"I\",\n \"display\": \"Initial\"\n }\n ]\n }\n }\n ],\n \"sequence\": 2,\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets\",\n \"code\": \"B4184\"\n }\n ]\n },\n \"category\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n }\n }\n ],\n \"supportingInfo\": [\n {\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes\",\n \"code\": \"freeFormMessage\",\n \"display\": \"Free Form Message\"\n }\n ]\n },\n \"sequence\": 2,\n \"valueString\": \"1\"\n }\n ],\n \"accident\": {\n \"date\": \"2016-03-09\"\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/UMOExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"UMOExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "UMOExample"

Profile: PAS Requestor Organization

identifier: id: #8189991234

active: true

type: X3 (98#X3)

name: DR. JOE SMITH CORPORATION

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"8189991234\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"8189948234\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"X3\"\n }\n ]\n }\n ],\n \"name\": \"DR. JOE SMITH CORPORATION\",\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"contact\": [\n {\n \"telecom\": [\n {\n \"system\": \"other\",\n \"value\": \"http://hl7.org/fhir\"\n }\n ],\n \"name\": {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Organization/InsurerExample\",\n \"resource\": {\n \"resourceType\": \"Organization\",\n \"id\": \"InsurerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Organization

Resource Organization "InsurerExample"

Profile: PAS Insurer Organization

identifier: id: #789312

active: true

type: PR (98#PR)

name: MARYLAND CAPITAL INSURANCE COMPANY

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"789312\"\n },\n {\n \"system\": \"http://terminology.hl7.org/NamingSystem/USEIN\",\n \"value\": \"7239994834\"\n }\n ],\n \"active\": true,\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/98\",\n \"code\": \"PR\"\n }\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"3029993456\"\n }\n ],\n \"name\": \"MARYLAND CAPITAL INSURANCE COMPANY\"\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Coverage/InsuranceExample\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"InsuranceExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Coverage

Resource Coverage "InsuranceExample"

Profile: PAS Coverage

status: active

beneficiary: Patient/SubscriberExample

payor: Organization/InsurerExample

\"\n },\n \"status\": \"active\",\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"1234567cov\"\n }\n ],\n \"beneficiary\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/InsurerExample\"\n }\n ],\n \"subscriber\": {\n \"reference\": \"Patient/SubscriberExample\"\n },\n \"subscriberId\": \"12345678901\",\n \"relationship\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/subscriber-relationship\",\n \"code\": \"self\"\n }\n ]\n }\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Patient/SubscriberExample\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"SubscriberExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber\"\n ]\n },\n \"text\": {\n \"status\": \"extensions\",\n \"div\": \"

Generated Narrative: Patient

Resource Patient "SubscriberExample"

Profile: PAS Subscriber Patient

MilitaryStatus: RU (584#RU)

identifier: id: 12345678901

name: JOE SMITH

gender: male

\"\n },\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-militaryStatus\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://codesystem.x12.org/005010/584\",\n \"code\": \"RU\"\n }\n ]\n }\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2106-3\",\n \"display\": \"White\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Caucasian\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\"\n },\n {\n \"extension\": [\n {\n \"url\": \"ombCategory\",\n \"valueCoding\": {\n \"system\": \"urn:oid:2.16.840.1.113883.6.238\",\n \"code\": \"2135-2\",\n \"display\": \"Hispanic or Latino\"\n }\n },\n {\n \"url\": \"text\",\n \"valueString\": \"Filipino\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\",\n \"valueCode\": \"M\"\n }\n ],\n \"identifier\": [\n {\n \"system\": \"http://davinci-pas.org/MIN\",\n \"value\": \"12345678901\"\n }\n ],\n \"name\": [\n {\n \"family\": \"SMITH\",\n \"given\": [\n \"JOE\"\n ],\n \"prefix\": [\n \"Mr\"\n ],\n \"suffix\": [\n \"PharmD\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1987-02-20\",\n \"multipleBirthInteger\": 1,\n \"communication\": [\n {\n \"language\": {\n \"coding\": [\n {\n \"system\": \"urn:ietf:bcp:47\",\n \"code\": \"nl-NL\",\n \"display\": \"Dutch (Netherlands)\"\n }\n ]\n },\n \"preferred\": true\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"555-555-5555\",\n \"use\": \"home\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"49 Meadow St\"\n ],\n \"city\": \"Mounds\",\n \"state\": \"OK\",\n \"district\": \"Meadow\",\n \"postalCode\": \"74047\",\n \"country\": \"US\",\n \"period\": {\n \"start\": \"2016-12-06\",\n \"end\": \"2020-07-22\"\n }\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/PractitionerRole/ReferralPractitionerRoleExample\",\n \"resource\": {\n \"resourceType\": \"PractitionerRole\",\n \"id\": \"ReferralPractitionerRoleExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: PractitionerRole

Resource PractitionerRole "ReferralPractitionerRoleExample"

Profile: PAS PractitionerRole

practitioner: Practitioner/ReferralPractitionerExample

location: Location/ReferralLocationExample

\"\n },\n \"practitioner\": {\n \"reference\": \"Practitioner/ReferralPractitionerExample\"\n },\n \"organization\": {\n \"reference\": \"Organization/UMOExample\"\n },\n \"location\": [\n {\n \"reference\": \"Location/ReferralLocationExample\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Practitioner/ReferralPractitionerExample\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"ReferralPractitionerExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Practitioner

Resource Practitioner "ReferralPractitionerExample"

Profile: PAS Practitioner

identifier: id: #987654321

name: SUSAN WATSON

telecom: ph: 4029993456

\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"987654321\"\n }\n ],\n \"name\": [\n {\n \"family\": \"WATSON\",\n \"given\": [\n \"SUSAN\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"4029993456\"\n }\n ],\n \"address\": [\n {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n ]\n }\n },\n {\n \"fullUrl\": \"http://davinci-pas.org/fhir/Location/ReferralLocationExample\",\n \"resource\": {\n \"resourceType\": \"Location\",\n \"id\": \"ReferralLocationExample\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-location\"\n ]\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"

Generated Narrative: Location

Resource Location "ReferralLocationExample"

Profile: PAS Location Profile

name: REFERRAL CLINIC

address: 111 1ST STREET SAN DIEGO CA 92101 US

\"\n },\n \"name\": \"REFERRAL CLINIC\",\n \"address\": {\n \"line\": [\n \"111 1ST STREET\"\n ],\n \"city\": \"SAN DIEGO\",\n \"state\": \"CA\",\n \"postalCode\": \"92101\",\n \"country\": \"US\"\n }\n }\n }\n ]\n}\n]" } ] } diff --git a/davinci_pas_test_kit.gemspec b/davinci_pas_test_kit.gemspec index 3f6b154..842f8b7 100644 --- a/davinci_pas_test_kit.gemspec +++ b/davinci_pas_test_kit.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |spec| spec.description = 'Inferno Test Kit for the Da Vinci Prior Authorization Support IG' spec.homepage = 'https://github.com/inferno-framework/davinci-pas-test-kit' spec.license = 'Apache-2.0' - spec.add_runtime_dependency 'inferno_core', '~> 0.4.34' + spec.add_runtime_dependency 'inferno_core', '~> 0.4.37' spec.add_development_dependency 'database_cleaner-sequel', '~> 1.8' spec.add_development_dependency 'factory_bot', '~> 6.1' spec.add_development_dependency 'rspec', '~> 3.10' diff --git a/docker-compose.background.yml b/docker-compose.background.yml index 76d31e8..d11e017 100644 --- a/docker-compose.background.yml +++ b/docker-compose.background.yml @@ -1,17 +1,32 @@ version: '3' services: - validator_service: - image: infernocommunity/fhir-validator-service - # Update this path to match your directory structure - volumes: - - ./lib/davinci_pas_test_kit/igs:/home/igs - fhir_validator_app: - image: infernocommunity/fhir-validator-app - depends_on: - - validator_service + hl7_validator_service: + image: infernocommunity/inferno-resource-validator environment: - EXTERNAL_VALIDATOR_URL: http://localhost/validatorapi - VALIDATOR_BASE_PATH: /validator + # Defines how long validator sessions last if unused, in minutes: + # Negative values mean sessions never expire, 0 means sessions immediately expire + SESSION_CACHE_DURATION: -1 + volumes: + - ./lib/davinci_pas_test_kit/igs:/app/igs + # To let the service share your local FHIR package cache, + # uncomment the below line + # - ~/.fhir:/home/ktor/.fhir + # validator_service: + # image: infernocommunity/fhir-validator-service + # # Update this path to match your directory structure + # volumes: + # - ./lib/davinci_pas_test_kit/igs:/home/igs + # fhir_validator_app: + # image: infernocommunity/fhir-validator-app + # depends_on: + # - validator_service + # environment: + # EXTERNAL_VALIDATOR_URL: http://localhost/validatorapi + # VALIDATOR_BASE_PATH: /validator + fhirpath: + image: infernocommunity/fhirpath-service + ports: + - "6789:6789" nginx: image: nginx volumes: @@ -20,7 +35,8 @@ services: - "80:80" command: [nginx, '-g', 'daemon off;'] depends_on: - - fhir_validator_app + - hl7_validator_service + - fhirpath redis: image: redis ports: diff --git a/docker-compose.yml b/docker-compose.yml index c937607..57ac0b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: volumes: - ./data:/opt/inferno/data depends_on: - - validator_service + - hl7_validator_service worker: build: context: ./ @@ -15,14 +15,22 @@ services: command: bundle exec sidekiq -r ./worker.rb depends_on: - redis - validator_service: + hl7_validator_service: extends: file: docker-compose.background.yml - service: validator_service - fhir_validator_app: + service: hl7_validator_service + # validator_service: + # extends: + # file: docker-compose.background.yml + # service: validator_service + # fhir_validator_app: + # extends: + # file: docker-compose.background.yml + # service: fhir_validator_app + fhirpath: extends: file: docker-compose.background.yml - service: fhir_validator_app + service: fhirpath nginx: extends: file: docker-compose.background.yml diff --git a/lib/davinci_pas_test_kit/client_suite.rb b/lib/davinci_pas_test_kit/client_suite.rb index f83f632..d9dc363 100644 --- a/lib/davinci_pas_test_kit/client_suite.rb +++ b/lib/davinci_pas_test_kit/client_suite.rb @@ -41,8 +41,8 @@ def self.test_resumes?(test) !test.config.options[:accepts_multiple_requests] end - validator do - url ENV.fetch('VALIDATOR_URL') + fhir_resource_validator do + igs 'hl7.fhir.us.davinci-pas#2.0.1' exclude_message do |message| # Messages expected of the form `: : ` diff --git a/lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb b/lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb index a5e2b0b..1a87b0f 100644 --- a/lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb +++ b/lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb @@ -33,8 +33,8 @@ class ServerSuite < Inferno::TestSuite request.query_parameters['use_case'] end - validator do - url ENV.fetch('VALIDATOR_URL') + fhir_resource_validator do + igs 'hl7.fhir.us.davinci-pas#2.0.1' exclude_message do |message| # Messages expected of the form `: : ` diff --git a/lib/davinci_pas_test_kit/generator/suite_generator.rb b/lib/davinci_pas_test_kit/generator/suite_generator.rb index bb6ef99..59c4b29 100644 --- a/lib/davinci_pas_test_kit/generator/suite_generator.rb +++ b/lib/davinci_pas_test_kit/generator/suite_generator.rb @@ -48,6 +48,11 @@ def title "Da Vinci PAS Server Suite #{ig_metadata.ig_version}" end + def ig_identifier + version = ig_metadata.ig_version[1..] # Remove leading 'v' + "hl7.fhir.us.davinci-pas##{version}" + end + def ig_link case ig_metadata.ig_version when 'v2.0.1' diff --git a/lib/davinci_pas_test_kit/generator/templates/suite.rb.erb b/lib/davinci_pas_test_kit/generator/templates/suite.rb.erb index 6249b5c..6128141 100644 --- a/lib/davinci_pas_test_kit/generator/templates/suite.rb.erb +++ b/lib/davinci_pas_test_kit/generator/templates/suite.rb.erb @@ -30,8 +30,8 @@ module DaVinciPASTestKit request.query_parameters['use_case'] end - validator do - url ENV.fetch('VALIDATOR_URL') + fhir_resource_validator do + igs '<%= ig_identifier %>' exclude_message do |message| # Messages expected of the form `: : ` diff --git a/lib/davinci_pas_test_kit/igs/README.md b/lib/davinci_pas_test_kit/igs/README.md new file mode 100644 index 0000000..644c908 --- /dev/null +++ b/lib/davinci_pas_test_kit/igs/README.md @@ -0,0 +1,21 @@ +# Note on this IGs folder + +There are three reasons why it would be necessary to put an IG package.tgz in this folder. If none of these apply, you do not need to put any files here, or can consider removing any existing files to make it clear they are unused. + +## 1. Generated Test Suites +Some test kits use a "generator" to automatically generate the contents of a test suite for an IG. The IG files are required every time the test suites need to be regenerated. Examples of test kits that use this approach are the US Core Test Kit and CARIN IG for Blue Button® Test Kit. + + +## 2. Non-published IG +If your IG, or the specific version of the IG you want to test against, is not published, then the validator service needs to load the IG from file in order to be able to validate resources with it. The IG must be referenced in the `fhir_resource_validator` block in the test suite definition by filename, ie: + +```ruby + fhir_resource_validator do + igs 'igs/filename.tgz' + + ... + end +``` + +## 3. Inferno Validator UI +The Inferno Validator UI is configured to auto-load any IGs present in the igs folder and include them in all validations. The Inferno Validator UI is currently disabled by default, so this is only relevant if you choose to re-enable it. In general, the Inferno team is currently leaving IGs in this folder even if not otherwise necessary to make it easy to re-enable the validator UI. \ No newline at end of file diff --git a/lib/davinci_pas_test_kit/pas_bundle_validation.rb b/lib/davinci_pas_test_kit/pas_bundle_validation.rb index 4a11f90..c00f177 100644 --- a/lib/davinci_pas_test_kit/pas_bundle_validation.rb +++ b/lib/davinci_pas_test_kit/pas_bundle_validation.rb @@ -210,9 +210,11 @@ def add_resource_target_profile_to_map(resource_full_url, resource, profile_url # @param version [String] The version of the IG. def validate_bundle_entries_against_profiles(version) bundle_resources_target_profile_map.each_value do |item| + resource = item[:resource] + base_profile = FHIR::Definitions.resource_definition(resource.resourceType).url success_profile = item[:profile_urls].find do |url| - profile_with_version = "#{url}|#{version}" - resource_is_valid?(resource: item[:resource], profile_url: profile_with_version) + profile_to_validate = url == base_profile ? url : "#{url}|#{version}" + resource_is_valid?(resource:, profile_url: profile_to_validate) end validation_error_messages << generate_non_conformance_message(item) unless success_profile @@ -370,18 +372,20 @@ def evaluate_fhirpath_expression(resource, expression) logger = Logger.new($stdout) begin - validator_url = ENV.fetch('VALIDATOR_URL') # 'https://inferno.healthit.gov/validatorapi/' - path = "#{validator_url}/evaluate?path=#{expression}" + fhirpath_url = ENV.fetch('FHIRPATH_URL') + path = "#{fhirpath_url}/evaluate?path=#{expression}" response = Faraday.post(path, resource.to_json, 'Content-Type' => 'application/json') if response.status.to_s.start_with? '2' result = JSON.parse(response.body) return result.map { |entry| entry.dig('element', 'reference') if entry['type'] == 'Reference' }.compact else - logger.error "External validator failed: #{response.status}" + logger.error "External FHIRPath service failed: #{response.status}" + raise 'FHIRPath service not available' end rescue Faraday::Error => e logger.error "HTTP request failed: #{e.message}" + raise 'FHIRPath service not available' end [] diff --git a/lib/davinci_pas_test_kit/validator_suppressions.rb b/lib/davinci_pas_test_kit/validator_suppressions.rb index 3db77f3..7e3e849 100644 --- a/lib/davinci_pas_test_kit/validator_suppressions.rb +++ b/lib/davinci_pas_test_kit/validator_suppressions.rb @@ -133,6 +133,8 @@ module DaVinciPASTestKit # no real content /Details for (.+) matching against profile/, ': All OK', + # This was ignored natively in the Inferno validator but needs to be ignored by the test kit with the HL7 validator + /URL value '.*' does not resolve/, # addition validator clean-up based on Bundle sub-validations where Inferno error supression doesn't # work. The test kit validates these instances individually as well, so they are still checked, # but in a way that Inferno can supress errors diff --git a/spec/davinci_pas_test_kit/v2.0.1/pas_bundle_validation_spec.rb b/spec/davinci_pas_test_kit/v2.0.1/pas_bundle_validation_spec.rb index 52be994..d9b1f18 100644 --- a/spec/davinci_pas_test_kit/v2.0.1/pas_bundle_validation_spec.rb +++ b/spec/davinci_pas_test_kit/v2.0.1/pas_bundle_validation_spec.rb @@ -95,10 +95,6 @@ def resource_type Class.new(Inferno::Test) do include DaVinciPASTestKit::PasBundleValidation - validator do - url ENV.fetch('VALIDATOR_URL') - end - fhir_client { url :server_endpoint } input :server_endpoint, :response_body, :request_bundle